home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / allqtips.zip / TECH6.MSG < prev    next >
Text File  |  1992-08-05  |  6KB  |  125 lines

  1.           A QEdit Tip from the SemWare Technical Support Staff
  2.  
  3.                 .. Manipulating Marked Blocks (Part A)..
  4.  
  5.         QEdit provides several ways to manipulate a marked Block.
  6.         Manipulation can be done directly, using the scrap buffer
  7.         (Clipboard), or using the scratch buffers.  Following is a
  8.         description of each of QEdit's block manipulation commands along
  9.         with our default key combinations.
  10.  
  11.         Manipulating Directly
  12.         ~~~~~~~~~~~~~~~~~~~~~
  13.         The following commands allow you to manipulate a marked Block
  14.         directly.
  15.  
  16.         CopyBlock <Alt C> - will make a copy of the marked Block and
  17.             insert it where you decide.  This can be either in another
  18.             place in the same file, or in another file.  To use this
  19.             command, mark the Block and move the cursor to the position
  20.             where you wish to insert the marked text. Now press <Alt C>
  21.             and notice the Block will be inserted at the new position.
  22.             To unmark the copied Block, enter the UnmarkBlock command.
  23.  
  24.         CopyOverBlock <Alt Z> - will work just like the CopyBlock
  25.             command except the Block is copied to the current cursor
  26.             position by overlaying the existing text.  The command can
  27.             _only_ be used with column Blocks.  The Block will be
  28.             inserted without shifting the text to the right.
  29.  
  30.         MoveBlock <Alt M> - will work just like the CopyBlock command
  31.             except that upon entering the MoveBlock command, the
  32.             original marked Block is deleted from the file.
  33.  
  34.         DeleteBlock <Alt G> - will delete a marked Block of text from
  35.             the file.  To use this command, mark the Block of text to be
  36.             deleted, then enter the DeleteBlock command.
  37.  
  38.         ShiftLeft <Shift 7> and ShiftRight <Shift F8> - will shift the
  39.             text contained in a marked Block one column to the left or
  40.             right.  To use these commands, mark the Block and enter the
  41.             ShiftLeft or ShiftRight command.  If there is not a marked
  42.             Block or the cursor is outside of the Block, the current
  43.             cursor line will be shifted.
  44.  
  45.         Manipulating Using the Scrap Buffer (Clipboard)
  46.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47.         The Scrap Buffer is a temporary holding area for marked Blocks
  48.         of text.  The commands Cut, Copy, Paste, and PasteOver are
  49.         solely responsible for manipulating text to and from the Scrap
  50.         Buffer.
  51.  
  52.         Cut <grey -> - will copy the marked Block into the Scrap Buffer.
  53.             The Block is then deleted from the file being edited.  If no
  54.             Block is marked, the cursor line is cut into the Scrap
  55.             Buffer.
  56.  
  57.         Copy <grey +> - will copy the marked Block into the Scrap
  58.             Buffer and then unmark the Block.  If no Block is marked,
  59.             the cursor line is copied into the Scrap Buffer.
  60.  
  61.         Paste <grey *> - will insert the contents of the Scrap Buffer to
  62.             the current cursor position.  If the Scrap Buffer contains a
  63.             character or column Block, it is inserted at the cursor
  64.             position.  If the Scrap Buffer contains a line Block, it is
  65.             inserted before or after the cursor line depending on the
  66.             configuration setting.
  67.  
  68.         PasteOver <Ctrl PrtSc> - will work like the Paste command, but
  69.             for column Blocks.  It takes a column Block which has been
  70.             loaded into the Scrap Buffer using the Cut or Copy commands
  71.             and places it at the current cursor position by overlaying
  72.             the existing text and without shifting text to the right.
  73.  
  74.         When you issue a Copy or Cut command, the marked Block is placed
  75.         in the Scrap Buffer.  The next time you Copy or Cut a Block into
  76.         the Scrap Buffer, the previous contents of the Scrap Buffer are
  77.         deleted and replaced with the new Block.
  78.  
  79.         You can use the Paste and PasteOver commands as many times as
  80.         needed to insert a copy of the Block held in the Scrap Buffer at
  81.         multiple positions in your file or files.  The Paste and
  82.         PasteOver commands will not purge the contents of the Scrap
  83.         Buffer.
  84.  
  85.         The Cut and Copy commands can be configured to act on the
  86.         current cursor line if no Block is marked.  This option can be
  87.         customized using the configuration program QCONFIG.EXE.  Run
  88.         QCONFIG.EXE, select A)dvanced options, and return till you get
  89.         to the option that reads:
  90.  
  91.                 Should Cut and Copy use the current line if no block
  92.                 marked (Y/N)? [N]
  93.  
  94.         The default configuration is set to <N> and will result in no
  95.         action if the Cut and Copy commands are used outside of a block.
  96.         If set to <Y>, QEdit will take use the current cursor line if
  97.         the Cut and Copy commands are issued.
  98.  
  99.         Manipulating Using the Scratch Buffer
  100.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101.         A Scratch Buffer is a special type of buffer to which you assign
  102.         a name.  QEdit allows you to create and name up to 99 Scratch
  103.         Buffers for each editing session.  These can be useful if you
  104.         have several different Blocks of text that you want to insert in
  105.         multiple locations.  The commands StoreScrbuff, AppendScrbuff,
  106.         and GetScrbuff are used to place text in, and retrieve text
  107.         from, a Scratch Buffer. Whenever you issue one of these
  108.         commands, QEdit will ask you for the name of the Scratch Buffer.
  109.         The contents of all Scratch Buffers are discarded when the
  110.         editor is terminated.
  111.  
  112.         StoreScrbuff <Ctrl B><S> - will copy the marked Block to the
  113.             named Scratch Buffer.  The editor will prompt for the name
  114.             of the Scratch Buffer.
  115.  
  116.         AppendScrbuff <Ctrl B><A> - will append the marked Block to the
  117.             end of the named Scratch Buffer.  The existing contents of
  118.             the named Scratch Bufferss are _not_ lost.  If the named
  119.             Scratch Buffer does not exist, a new Scratch Buffer will be
  120.             created.
  121.  
  122.         GetScrbuff <Ctrl B><L> - will insert the contents of the named
  123.             Scratch Buffer at the cursor position.
  124.  
  125.